using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace amazingfishing
{
    public class StaticFunctions
    {
        public static bool IsInRectangle(Vector2 point, Rectangle rect)
        {
            if (point.X >= rect.X && point.X <= rect.X + rect.Width && point.Y >= rect.Y && point.Y <= rect.Y + rect.Height)
                return true;
            else
                return false;
        }
    }
}
